// 把home页的所有请求封装成一个个的函数
import myAxios from '../utils/mock' 
import $axios from '../utils/request'

// 用函数名来代替后面的请求
export function getBannerList(){
    return myAxios.get("/bannerList")
}
export function getnavList(){
    return myAxios.get("/navList")
}
export function getSeckillList(){
    return $axios.get("/pro/seckilllist")
}
export function getProList(params){
    return $axios.get("/pro/list",{params})
}